export default function (app) {
  app.config.globalProperties.$http = 'http://127.0.0.1:3001'
  app.directive('color', {
    created(el) {
      // console.log(el)
      el.style.color = 'red'
    }
  })

  app.directive('focus', {
    mounted(el) {
      el.focus()
    }
  })
}